const User = () => import(/* webpackChunkName: "User" */ '../views/user/User.vue');
const MyRelease = () => import(/* webpackChunkName: "User" */ '../views/user/MyRelease'); //我的发布
const MyCollection = () => import(/* webpackChunkName: "User" */ '../views/user/MyCollection'); //我的收藏
const MyReservation = () => import(/* webpackChunkName: "User" */ '../views/user/MyReservation.vue'); //我的预约
const MyRegistration = () => import(/* webpackChunkName: "User" */ '../views/user/MyRegistration.vue'); //我的报名
const MyWorkplace = () => import(/* webpackChunkName: "User" */ '../views/user/MyWorkplace'); //我的职场
const Message = () => import(/* webpackChunkName: "User" */ '../views/user/Message'); //消息/留言
const PersonalData = () => import(/* webpackChunkName: "User" */ '../views/user/personalData.vue'); //个人资料
const Setting = () => import(/* webpackChunkName: "User" */ '../views/user/Setting'); //设置
const About = () => import(/* webpackChunkName: "User" */ '../views/user/About.vue'); //关于

// 我的发布 子页面
const Asset = () => import(/* webpackChunkName: "User" */ '../views/user/MyRelease/Asset.vue'); //资产
const Quote = () => import(/* webpackChunkName: "User" */ '../views/user/MyRelease/Quote.vue'); //报价
const Gossip = () => import(/* webpackChunkName: "User" */ '../views/user/MyRelease/Gossip.vue'); //八卦
const Job = () => import(/* webpackChunkName: "User" */ '../views/user/MyRelease/Job.vue'); //职位
const Resume = () => import(/* webpackChunkName: "User" */ '../views/user/MyRelease/Resume.vue'); //简历

// 我的收藏 子页面
const News = () => import(/* webpackChunkName: "User" */ '../views/user/MyCollection/News.vue'); //资讯
const CollectionQuote = () => import(/* webpackChunkName: "User" */ '../views/user/MyCollection/Quote.vue'); //报价
const Circle = () => import(/* webpackChunkName: "User" */ '../views/user/MyCollection/Circle.vue'); //金融圈
const Think = () => import(/* webpackChunkName: "User" */ '../views/user/MyCollection/Think.vue'); //智库
const CollectionJob = () => import(/* webpackChunkName: "User" */ '../views/user/MyCollection/Job.vue'); //职位

// 我的职场 子页面
const Career = () => import(/* webpackChunkName: "User" */ '../views/user/MyWorkplace/Career.vue'); //应聘的职位
const Invite = () => import(/* webpackChunkName: "User" */ '../views/user/MyWorkplace/Invite.vue'); //聘请的职位


// 消息/留言  子页面
const MessageSystem = () => import(/* webpackChunkName: "User" */ '../views/user/Message/System.vue'); //系统消息
const MessageAdmin = () => import(/* webpackChunkName: "User" */ '../views/user/Message/Admin.vue'); //留言管理

// 登陆 注册 模块
const Login = () => import(/* webpackChunkName: "User" */ '../views/user/Login/Login.vue'); //登陆
const Register = () => import(/* webpackChunkName: "User" */ '../views/user/Login/Register.vue'); //注册

export default [
    {
        path: 'login',
        alias: '/user/login',
        name: `{ "left": "home", "content": "#EFEFF4", "right": "register" }`,
        component: Login,
    },
    {
        path: 'register',
        alias: '/user/register',
        name: `{ "left": "home", "content": "#EFEFF4", "right": "login" }`,
        component: Register,
    },
    {
        path: 'user',
        component: User,
        name: `{ "left": "add", "content": "我的", "right": "share"  }`,
    },
    {
        path: 'myRelease',
        alias: '/user/myRelease',
        component: MyRelease,
        children: [
            {
                path: '/',
                name: `{ "left": "back", "content": "我的发布", "right": ""  } `,
                component: Asset,
            },
            {
                path: 'quote',
                name: `{ "left": "back", "content": "我的发布", "right": ""  }  `,
                component: Quote
            },
            {
                path: 'gossip',
                name: `{ "left": "back", "content": "我的发布", "right": ""  }   `,
                component: Gossip
            },
            {
                path: 'job',
                name: `{ "left": "back", "content": "我的发布", "right": ""  }    `,
                component: Job
            },
            {
                path: 'resume',
                name: `{ "left": "back", "content": "我的发布", "right": ""  }     `,
                component: Resume
            },
        ]
    },
    {
        path: 'myCollection',
        alias: '/user/myCollection',
        component: MyCollection,
        children: [
            {
                path: '/',
                name: `{ "left": "back", "content": "我的收藏", "right": ""  }`,
                component: News,
            },
            {
                path: 'quote',
                name: `{ "left": "back", "content": "我的收藏", "right": ""  } `,
                component: CollectionQuote,
            },
            {
                path: 'circle',
                name: `{ "left": "back", "content": "我的收藏", "right": ""  }  `,
                component: Circle,
            },
            {
                path: 'think',
                name: `{ "left": "back", "content": "我的收藏", "right": ""  }   `,
                component: Think,
            },
            {
                path: 'job',
                name: `{ "left": "back", "content": "我的收藏", "right": ""  }    `,
                component: CollectionJob,
            },
        ]
    },
    {
        path: 'myReservation',
        alias: '/user/myReservation',
        name: `{ "left": "back", "content": "我的预约", "right": ""  }`,
        component: MyReservation
    },
    {
        path: 'myRegistration',
        alias: '/user/myRegistration',
        name: `{ "left": "back", "content": "我的报名", "right": ""  }`,
        component: MyRegistration
    },
    {
        path: 'myWorkplace',
        alias: '/user/myWorkplace',
        component: MyWorkplace,
        children: [
            {
                path: '/',
                name: `{ "left": "back", "content": "我的职场", "right": ""  } `,
                component: Career,
            },
            {
                path: 'invite',
                name: `{ "left": "back", "content": "我的职场", "right": ""  }  `,
                component: Invite,
            },
        ]
    },
    {
        path: 'message',
        alias: '/user/message',
        component: Message,
        children: [
            {
                path: '/',
                name: `{ "left": "back", "content": "消息/留言", "right": ""  } `,
                component: MessageSystem,
            },
            {
                path: 'admin',
                name: `{ "left": "back", "content": "消息/留言", "right": ""  }  `,
                component: MessageAdmin,
            },
        ]
    },
    {
        path: 'personalData',
        alias: '/user/personalData',
        name: `{ "left": "back", "content": "个人资料", "right": ""  }`,
        component: PersonalData
    },
    {
        path: 'setting',
        alias: '/user/setting',
        name: `{ "left": "back", "content": "设置", "right": ""  }`,
        component: Setting
    },
    {
        path: 'about',
        alias: '/user/about',
        name: `{ "left": "back", "content": "关于", "right": ""  }`,
        component: About
    },
]